Platform Explorer / Nuxeo Platform 6.0

Operation Collection.AddToCollection (Add to collection)

Description

Add a list of documents in a collection. No value is returned.
Operation id Collection.AddToCollection
Category Document
Label Add to collection
Requires
Since

Parameters

Name Description Type Required Default value
collection document yes  

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.collections.core.automation.AddToCollectionOperation
Contributing Component org.nuxeo.collections.operations

JSON Definition

{
  "id" : "Collection.AddToCollection",
  "label" : "Add to collection",
  "category" : "Document",
  "requires" : null,
  "description" : "Add a list of documents in a collection. No value is returned.",
  "url" : "Collection.AddToCollection",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "collection",
    "description" : null,
    "type" : "document",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}